﻿<!DOCTYPE html>
<html>
<head>
<title>部门资料管理</title>
<meta charset="utf-8">
<meta name="keywords" content="短照中心-湘潭市康复养老中心;">
<meta name="description" content="短照中心-湘潭市康复养老中心;">
<link rel="stylesheet" rev="stylesheet" href="css/framepage.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="js/waitBox/wait.css">

<script src="js/vue.js"></script>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src="js/JSON-js-master/json2.js"></script>
<script src="js/waitBox/wait.js"></script>
</head>

<body style="background:rbg(216,216,216);">
<div class="form_div" id="vue_vm">
  <h3>新增部门</h3>
  <form>
    <ul>
      <li><span class="tit" style="width:42px;">名称：</span></li>
      <li><span>
        <input type="text" placeholder="请输入部门名称" v-model="data.departmentName" style="width:300px;"/>
        </span></li>
    </ul>
    <ul>
      <li><span class="tit" style="width:42px;">单位：</span></li>
      <li><span>
        <input type="text" placeholder="请输入单位名称" v-model="data.unitName" style="width:300px;"/>
        </span></li>
    </ul>
    <ul>
      <li><span class="tit" style="width:42px;">职能：</span></li>
      <li><span>
        <input type="text" placeholder="请输入职能" v-model="data.function" style="width:300px;"/>
        </span></li>
    </ul>
    <ul>
      <li><span class="tit" style="width:42px;">电话：</span></li>
      <li><span>
        <input type="text" placeholder="请输入电话" v-model="data.telPhone" style="width:300px;"/>
        </span></li>
    </ul>
    <ul>
      <li><span class="tit" style="width:42px;">地址：</span></li>
      <li><span>
        <input type="text" placeholder="请输入地址" v-model="data.address" style="width:300px;"/>
        </span></li>
    </ul>
    <ul>
      <li><span class="tit" style="width:42px;"></span></li>
      <li>
        <input type="button" value="确认提交" class="button button1" onclick="save();" style="height:38px;"/>
      </li>
    </ul>
  </form>
</div>
<div style="clear:both;"></div>
<div class="list_div" id="vue_vm_list">
  <h3>已有部门</h3>
  <div style="margin:0;padding:0;" v-for="todo in todos">
      <ul>
        <li style="width:200px;"><span style="display:block;position:absolute;top:12px;left:0;">
          <input class="magic-checkbox" type="checkbox" v-bind:name="todo.departmentId" v-bind:id="todo.departmentId"/>
          <label v-bind:for="todo.departmentId" class="label_txt" style="color:#009688">{{todo.departmentName}}</label>
          </span></li>
        <li style="width:150px;"><span>{{todo.unitName}}</span></li>
        <li style="width:130px;"><span>{{todo.function}}</span></li>
        <li style="width:100px;"><span>{{todo.telPhone}}</span></li>
        <li style="width:400px;"><span>{{todo.address}}</span></li>
      </ul>
  </div>
  
  <div class="for_ie_div"><!--为兼容IE-->
    <ul>
      <li style="width:160px;">
        <input type="button" value="删除" class="button button2" onclick="deleteBatch();" style="height:38px;"/>
      </li>
    </ul>
  </div>
</div>
<script src="js/common.js"></script>
<script src="js/common_function.js"></script> 
<script src="js/busi/department.js"></script>
</body>
</html>